package create_pattern.factory.abstract_factory;

/**
 * @author fly
 * @data 2022-03-29
 * 抽象工厂模式，sum具体工厂，创建一个sum产品族
 */
public class SumFactory implements AssembleFactory{
    @Override
    public Cpu createCpu() {
        return new CpuSum();
    }

    @Override
    public Screen createScreen() {
        return new ScreenSum();
    }
}